package com.koko.service;

import com.koko.user.dto.RecoverPasswordDTO;
import com.koko.user.dto.RegisterDTO;
import com.koko.user.vo.UserVO;

import java.math.BigDecimal;
import java.util.List;

public interface UserService {
    UserVO getUserInfo();

    UserVO login(String usernameOrEmail, String password);

    UserVO getUserInfoByEmail(String email);

    void register(RegisterDTO registerDTO);

    List<UserVO> getFriendsList(String usernameOrNickname);

    UserVO getUserById(Long id);

    void pay(BigDecimal toPay);

    void getGamesFromOrder(Long orderId);

    void recoverPassword(RecoverPasswordDTO recoverPasswordDTO);
}
